package com.example.springbootwebservice.service;

import javax.jws.*;

//@javax.jws.WebService(
//        // 暴露服务名称
//        name="DemoService",
//        // 命名空间,一般是接口的包名倒序
//        targetNamespace = "http://service.springbootwebservice.example.com"
//)

@javax.jws.WebService(name="DemoService",targetNamespace = "http://service.springbootwebservice.example.com")
public interface DemoService {
    @WebMethod
    String say(@WebParam(name = "name") String name);
}
